<?php
namespace App\Controllers;

use App\Models\User;

class HomeController {
    public function index() {
        $user = new User();
        return "欢迎来到首页！用户名：" . $user->getName();
    }
}
?>